#ifndef __REDIS_H__
#define __REDIS_H__
#include <memory>
#include <hiredis/hiredis.h>

class Redis
{
public:
    typedef std::shared_ptr<Redis> ptr;

    bool connect();

private:
    std::shared_ptr<redisContext> m_context;
};

#endif // !__REDIS_H__
